package com.speedchina.common.redis.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * redis哨兵模式配置
 * @author Winter
 */
@Configuration
@Data
public class SentinelProperties {
    @Value("${spring.redis.sentinel.master:}")
    String master;
    @Value("${spring.redis.sentinel.nodes:}")
    String nodes;
}
